﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
                    xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
                    xmlns:controls="clr-namespace:CODE.Framework.Wpf.Theme.Metro.Controls">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/Style/BaseStyle.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <Style x:Key="TitleGridStyle" TargetType="{x:Type Grid}">
        <Setter Property="Background">
            <Setter.Value>
                <ImageBrush ImageSource="/Resources/TitleBackground.png"
                            Stretch="None"
                            TileMode="Tile"
                            Viewport="0,0,100,100"
                            ViewportUnits="Absolute" />
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="TitleImageStyle" TargetType="{x:Type Image}">
        <Setter Property="Margin" Value="10,7,10,7" />
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="Source" Value="/Resources/WirelessAccessPoint.png" />
        <Setter Property="Stretch" Value="None" />
        <Setter Property="VerticalAlignment" Value="Center" />
    </Style>

    <Style x:Key="TitleTextBlockStyle" TargetType="{x:Type TextBlock}">
        <Setter Property="Foreground" Value="{StaticResource TitleForegroundBrush}" />
        <Setter Property="Margin" Value="0,10,10,10" />
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="TextWrapping" Value="Wrap" />
        <Setter Property="VerticalAlignment" Value="Center" />
    </Style>

</ResourceDictionary>
